<template>
  <div>
    <!-- 
      2. 给子组件中预留的插槽传递结构
     -->
    <MyDialog>
      <p>您确定退出吗?</p>
      <p>您确定退出吗?</p>
      <p>您确定退出吗?</p>
      <input type="text" />
    </MyDialog>

    <MyDialog> </MyDialog>
  </div>
</template>

<script>
import MyDialog from "./components/MyDialog.vue";
export default {
  data() {
    return {};
  },
  components: {
    MyDialog,
  },
};
</script>

<style>
body {
  background-color: #b3b3b3;
}
</style>